toggle menu
JxBrowser
8.0.0-eap.5
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.download.event
/
[jvm]DownloadUpdated
Download
Updated
interface
DownloadUpdated
:
DownloadEvent
An event indicating that the download has been updated.
Members
Functions
current
Speed
Link copied to clipboard
open
fun
currentSpeed
(
)
:
Long
Returns the current download speed estimate in bytes/second.
download
Link copied to clipboard
open
fun
download
(
)
:
Download
Returns the
Download
instance initiated this event.
progress
Link copied to clipboard
open
fun
progress
(
)
:
Optional
<
Progress
>
Returns an
Optional
containing the rough percent complete or an empty
Optional
if we do not know it, because we did not receive the total size.
received
Bytes
Link copied to clipboard
open
fun
receivedBytes
(
)
:
Long
Returns the number or received (downloaded) bytes.
total
Bytes
Link copied to clipboard
open
fun
totalBytes
(
)
:
Long
Returns the total size of the downloaded file in bytes.